package com.ruoyi.backStage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 距离金额管理对象 distance_amount
 * 
 * @author xingxing
 * @date 2023-07-04
 */
public class DistanceAmount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 距离(km) */
    @Excel(name = "距离(km)")
    private Double distance;

    /** 金额 */
    @Excel(name = "金额")
    private Double money;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDistance(Double distance) 
    {
        this.distance = distance;
    }

    public Double getDistance() 
    {
        return distance;
    }
    public void setMoney(Double money) 
    {
        this.money = money;
    }

    public Double getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("distance", getDistance())
            .append("money", getMoney())
            .toString();
    }
}
